package com.teacherprofile.common.domain;

import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teacherprofile.common.converters.DateConverter;
import com.teacherprofile.common.core.domain.BaseEntity;
import lombok.Data;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import org.springframework.ai.tool.annotation.Tool;

/**
 * 科技特派员对象 tb_tech_specialist
 *
 * @author vibelin
 * @date 2025-05-17
 */
@Data
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
@ExcelIgnoreUnannotated
@ColumnWidth(22)
@HeadRowHeight(16)
@HeadFontStyle(fontHeightInPoints = 12)
@TableName("tb_tech_specialist")
public class TechSpecialist extends BaseEntity {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    /** 主键ID */
    private Long id;

    /**
     * 教职工号
     */
    @ExcelProperty("教职工号")
    private String userName;

    /**
     * 姓名
     */
    @ExcelProperty("姓名")
    private String nickName;

    /**
     * 专业领域
     */
    @ExcelProperty("专业领域")
    private String specialtyField;

    /**
     * 工作单位
     */
    @ExcelProperty("工作单位")
    private String workUnit;

    /**
     * 职称
     */
    @ExcelProperty("职称")
    private String professionalTitle;

    /**
     * 职务
     */
    @ExcelProperty("职务")
    private String position;

    /**
     * 学历
     */
    @ExcelProperty("学历")
    private String education;

    /**
     * 服务市
     */
    @ExcelProperty("服务市")
    private String serviceCity;

    /**
     * 服务县
     */
    @ExcelProperty("服务县")
    private String serviceCounty;

    /**
     * 服务乡镇
     */
    @ExcelProperty("服务乡镇")
    private String serviceTownship;

    /**
     * 服务单位
     */
    @ExcelProperty("服务单位")
    private String serviceUnit;

    /**
     * 所学专业
     */
    @ExcelProperty("所学专业")
    private String major;

    /**
     * 获批年份
     */
    @ExcelProperty("获批年份")
    private Long approvedYear;

}
